package java;

import java.util.Scanner;

public class MyInfo2 {
    public static void main(String[] args) {
        int a;
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个年份");
        a= scanner.nextInt();
        if(a%4==0 && a%100!=0) {
            System.out.println("是闰年");
        }
        else {System.out.println("不是闰年");}
    }
}
